package com.TEight.Forum.service;
import com.TEight.Forum.pojo.Article;
import com.TEight.Forum.pojo.PageBean;

import com.TEight.Forum.pojo.Article;

import java.util.List;
public interface ArticleService {
	public PageBean<Article> getArticleListByPage(String categoryId, String pageno, String pagerStartIndex);
    public List<Article> getTitleList(String title);
    public List<Article> getTitleAllList();
    public Article getArticleDetails(int articleId);
    public List<Article> getAllTitle(int userId);
    public List<Article> getHotTitleList(int num);
    public void addClickNum(int articleId);
    public List<Article> getRandomTitle(int num,int limitNum);
    public void articleAdd(Article article);
    public PageBean<Article> getArticleListByPage(String pageno, String pagerStartIndex);
    public void delete(String articleId);
}
